package com.hzw.saas.api.user.bo;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 新旧属性值比较
 *
 * @author zzl
 * @since 05/27/2021
 */
@Data
@Accessors(chain = true)
@ApiModel("新旧属性值比较")
public class ValueCompareBO<V> implements Serializable {

    private static final long serialVersionUID = 3726075651267487913L;

    @ApiModelProperty("属性值")
    private String property;

    @ApiModelProperty("属性值文本")
    private String propertyText;

    @ApiModelProperty("原属性值")
    private V oldValue;

    @ApiModelProperty("新属性值")
    private V newValue;

    @ApiModelProperty("新旧属性值比较，true: 新>旧；false: 新<=旧")
    private Boolean higher;

}
